package pri.black.garden.biz;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Date;
import pri.black.garden.domain.PlanLink;
import pri.black.garden.service.IPlanLinkService;

/**
 * plan-linkBiz业务层处理
 * 
 * @author black
 * @date 2025-02-18
 */
@Service
public class PlanLinkBiz
{
    @Autowired
    private IPlanLinkService planLinkService;

    public IPlanLinkService getService(){
        return planLinkService;
    }

    /**
     * 新增PlanLink
     */
    public boolean save(PlanLink planLink){
        return planLinkService.save(planLink);//看情况提取至controller中
    }

    /**
     * 更新PlanLink
     */
    public boolean update(PlanLink planLink){
        return planLinkService.updateById(planLink);
    }
}
